package lemo.m1;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class MyServletListener implements ServletContextListener{

    private static final Logger logger = LoggerFactory.getLogger(MyServletListener.class);


    @Override
    public void contextInitialized(ServletContextEvent sce) {
        logger.info("------------>contextInitialized<---------------");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        logger.info("------------>contextDestroyed<---------------");
    }
}
